export default [{
    url: "/simplecrud/page",
    method: "post",
    response: () => {
        return {
            data: {
                total: 10,
                data: Array(10).fill({
                    name: 'small',
                    sex: '男',
                    image: "https://image2.cn10.cn/upload/images/20231019/16414695917_1320x990.jpg",
                    file: "https://image2.cn10.cn/upload/images/20231019/16414695917_1320x990.jpg",
                    tree: 1,
                    dict: '1',
                    cityCode: "110000",
                    city: "北京"


                }, {
                    name: 'small',
                    sex: '男',
                    image: "https://image2.cn10.cn/upload/images/20231019/16414695917_1320x990.jpg",
                    file: "https://image2.cn10.cn/upload/images/20231019/16414695917_1320x990.jpg",
                    tree: 3,
                    dict: '1',
                    cityCode: "110000",
                    city: "北京"
                })
            }
        }
    }
}, {
    url: "/simplecrud",
    method: "post",
    response: () => {
        return {
            data: {}
        }
    }
}, {
    url: "/simplecrud",
    method: "put",
    response: () => {
        return {
            data: {}
        }
    }
}, {
    url: "/simplecrud",
    method: "delete",
    response: () => {
        return {
            data: {}
        }
    }
}, {
    url: "/dict/testDict",
    method: "get",
    response: () => {
        return {
            data: [{
                label: '上架(success)',
                value: '0',
                style: "11"
            }, {
                label: '下架(warning)',
                value: '1',
            }]
        }
    }
}, {
    url: "/simplecrud/tree",
    method: "get",
    response: () => {
        return {
            data: [
                {
                    id: 1,
                    name: '一级',
                    children: [
                        {
                            id: 2,
                            name: '二级',
                            children: [
                                {
                                    id: 3,
                                    name: '三级'
                                }
                            ]
                        }
                    ]
                }


            ]
        }
    }
}, {
    url: "/file/upload/{imageClassify}",
    method: "post",
    response: () => {
        return {
            data: {
                res: 'data',
                url: 'https://image2.cn10.cn/upload/images/20231019/16414695917_1320x990.jpg',
                name: '图片.jpeg'
            }
        }
    }
}, {
    url: "/simplecrud/city",
    method: "get",
    response: () => {
        return {
            data: [{
                label: '北京',
                value: '110000',
            }, {
                label: '天津',
                value: '120000',
            }, {
                label: '河北省',
                value: '130000',
            }, {
                label: '山西省',
                value: '140000',
            }]
        }
    }
}


]
